<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ResetController extends Controller
{
    public function reset()
    {
    	return view('home.reset.reset');
    }

    public function send(Requeset $request)
    {
        Mail::send('mails.send', ['username' => '袁总'], function ($message) use ($request) {
            $message -> subject('这是一封来自于袁总的邮件');
            $message -> to($request) -> input('email');
        });
    }
}
